"""
 纯文本文件 student.txt为学生信息, 里面的内容（包括花括号）如下所示：
{
	"1":["张三",150,120,100],
	"2":["李四",90,99,95],
	"3":["王五",60,66,68]
}
sheet = wb['Sheet']
sheet['A1'] = 'hello world!'
wb.save('example_copy.xlsx')


请将上述内容写到 student.xls 文件中
"""


import openpyxl
wb = openpyxl.Workbook()
f = open('student.txt')
lines = f.read().splitlines()
print(lines)


